<!DOCTYPE html>
<html>
<head>
<title>成员</title>
<jsp:include page="../../include/header.jsp" />
</head>
<body class="">
	<div class="admin-detail-content">
		<div class="breadcrumb">
			<a class="btn btn-success btn-small" href="base/role/role!preAddUserToRole.action?id=${role.id}">添加成员</a>
			<a class="btn btn-success btn-small" href="javascript: history.go(-1);">返回</a>
		</div>
		<div class="searchs">
		</div>
		<div class="">
			<table class="table table-striped">
				<thead>
					<tr>
						<th>名称</th>
						<th>部门</th>
						<th>&nbsp;</th>
					</tr>
				</thead>
				<tbody>
				<c:forEach var="employee" items="${employees}">
					<tr>
						<td>${employee.name}</td>
						<td></td>
						<td>
							<a class="btn btn-danger btn-small delete" employeeId="${employee.id}" 
									href="base/role/role!deleteUserFromRole.action?id=${role.id}&employeeId=${employee.id}">删除</a>
						</td>
					</tr>
				</c:forEach>
				</tbody>
			</table>
		</div>
	</div>
	<div id="modalConfirmDeleteEmployeeFromRole" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
		<div class="modal-header">
			<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
			<h3 id="myModalLabel">对话框</h3>
		</div>
		<div class="modal-body">
			<p>确定删除该角色?</p>
		</div>
		<div class="modal-footer">
			<button class="btn btn-danger btn-small" id="btnConfirmDeleteEmployeeFromRole" employeeId="">确定</button>
			<button class="btn btn-success btn-small" data-dismiss="modal" aria-hidden="true">取消</button>
		</div>
	</div>
</body>
</html>
<script>

</script>